ingress:
  enabled: true
  ingressClassName: system-ingress
  annotations:
    certmanager.k8s.io/cluster-issuer: monitoring-issuer
  hosts:
    - host: grafana.kryukov.local
      paths:
        - path: /
          pathType: Prefix
  tls:
    - hosts:
        - grafana.kryukov.local
      secretName: grafana-tls

grafana:
  revisionHistoryLimit: 3
  testFramework:
    enabled: false
  ingress:
    enabled: false
  resources:
    limits:
      cpu: 500m
      memory: 1024Mi
    requests:
      cpu: 100m
      memory: 128Mi
  persistence:
    type: pvc
    enabled: true
    storageClassName: managed-nfs-storage
    accessModes:
      - ReadWriteOnce
    size: 2Gi
  grafana.ini:
    server:
      domain: grafana.kryukov.local
      root_url: https://grafana.kryukov.local
  dashboardProviders:
    dashboardproviders.yaml:
      apiVersion: 1
      providers:
        - name: 'default'
          orgId: 1
          folder: ''
          type: file
          disableDeletion: true
          editable: false
          options:
            path: /var/lib/grafana/dashboards/default
  dashboards:
    default:
      node-exporter:
        file: dashboards/node-exporter.json
  datasources:
    datasources.yaml:
      apiVersion: 1
      datasources:
        - name: Victoria
          type: prometheus
          url: http://victoriametrics-victoria-metrics-single-server:8428
          access: proxy
          isDefault: true
